package com.ruoyi.system.domain;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目
对象 project
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
public class Project extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 附件ID */
    @Excel(name = "图片")
    private String img;

//    /** 附件ID */
//    @Excel(name = "附件ID")
//    private String fileIds;
    
    /** 附件列表 */
    private List<DocNewfile> fileIdList;
    public List<DocNewfile> getFileIdList() {
		return fileIdList;
	}

	public void setFileIdList(List<DocNewfile> fileIdList) {
		this.fileIdList = fileIdList;
	}

	public List<DocNewfile> getFileIdsList() {
		return fileIdsList;
	}

	public void setFileIdsList(List<DocNewfile> fileIdsList) {
		this.fileIdsList = fileIdsList;
	}

	private List<DocNewfile> fileIdsList;
    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Long createdAt;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    /** 查看量 */
    @Excel(name = "查看量")
    private Long seeNum;

    /** 点赞量 */
    @Excel(name = "点赞量")
    private Long likesNum;

    /** 分享量 */
    @Excel(name = "分享量")
    private Long commentNum;

    /** 图片数组 */
    @Excel(name = "图片数组")
    private String imgList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setCreatedAt(Long createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Long getCreatedAt() 
    {
        return createdAt;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setSeeNum(Long seeNum) 
    {
        this.seeNum = seeNum;
    }

    public Long getSeeNum() 
    {
        return seeNum;
    }
    public void setLikesNum(Long likesNum) 
    {
        this.likesNum = likesNum;
    }

    public Long getLikesNum() 
    {
        return likesNum;
    }
    public void setCommentNum(Long commentNum) 
    {
        this.commentNum = commentNum;
    }

    public Long getCommentNum() 
    {
        return commentNum;
    }
    public void setImgList(String imgList) 
    {
        this.imgList = imgList;
    }

    public String getImgList() 
    {
        return imgList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("title", getTitle())
            .append("img", getImg())
            .append("content", getContent())
            .append("author", getAuthor())
            .append("createdAt", getCreatedAt())
            .append("state", getState())
            .append("seeNum", getSeeNum())
            .append("likesNum", getLikesNum())
            .append("commentNum", getCommentNum())
            .append("imgList", getImgList())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
